package org.dxy.types.exception;

/**
 * @description:
 * @author: dxy
 * @createTime: 2025/6/14 12:36
 */
public class DomainException extends RuntimeException {
    private final String code;

    public DomainException(String code, String message) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
